package com.colorfruit.admin.business.dao;

import com.colorfruit.admin.pojo.entity.PurchasePriceCount;
import org.apache.ibatis.annotations.Param;

public interface PurchasePriceCountMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PurchasePriceCount record);

    int insertSelective(PurchasePriceCount record);

    PurchasePriceCount selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PurchasePriceCount record);

    int updateByPrimaryKey(PurchasePriceCount record);

    PurchasePriceCount getPurchasePriceById(@Param("globalId") Long globalId,
                                            @Param("productId") Long productId);

}